package game.hero;

import game.weapon.Weapon;

public abstract class Hero {
	private String name;
	private int hp;
	private int mp;
	private int power;
	private Weapon weapon;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getHp() {
		return hp;
	}
	public void setHp(int hp) {
		this.hp = hp;
	}
	public int getMp() {
		return mp;
	}
	public void setMp(int mp) {
		this.mp = mp;
	}
	public int getPower() {
		return power;
	}
	public void setPower(int power) {
		this.power = power;
	}
	public Weapon getWeapon() {
		return weapon;
	}
	public void setWeapon(Weapon weapon) {
		this.weapon = weapon;
	}
	public Hero(String name, int hp, int mp,int power) {
		super();
		this.name = name;
		this.hp = hp;
		this.mp = mp;
		this.power=power;
	}
	public Hero() {
		
	}
	
	public abstract int attack();
	
}
